import 'package:p_location/map/obj/risk_zone_point.dart';

class RiskZoneBundleItem {
  int floorId;
  String level;

  List<RiskZonePoint> points;

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['floorId'] = this.floorId;
    data['level'] = this.level;
    if (this.points != null) {
      data['points'] = this.points.map((v) => v.toJson()).toList();
    }
    return data;
  }
}
